package com.briup.ch06;

public class Manager extends Employee{
    private double basemoney;
    public Manager(String name,String gender,String birth,double basemoney)
    {
        super(name,gender,birth,"经理");
        this.basemoney=basemoney;
    }
    @Override
    public void computeSalary()
    {
        System.out.println(this.getType()+" "+getName()+" "+"本月工资为:"+this.basemoney+"元");
    }
}
